package com.example.bms.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * 
 * @author Jiang
 * @email 337262603@qq.com
 * @date 2022-01-29 23:12:39
 */
@Data
@TableName("bms_order")
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "oid",type = IdType.INPUT)
	private String oid;
	/**
	 * 
	 */
	private Integer uid;
	/**
	 * 
	 */
	private Integer sid;
	/**
	 * 
	 */
	private Integer wid;
	/**
	 * 
	 */
	private Integer number;
	/**
	 * 
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date time;
	/**
	 * 
	 */
	private String status;
	/**
	 * 
	 */
	private BigDecimal total;
	/**
	 * 
	 */
	private Integer bottle;

}
